package com.deep.spring.v5;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ValidationParam {
    @NotBlank(message = "用户名不能为空")
    String username;

    @CusPhone
    String phone;

    @NotBlank(message = "身份证不能为空")
    String idCard;

    @CusEmail
    String email;
}
